﻿@{
    Layout = null;
}
@model List<DotNetMVC.OA.Model.UserInfo>

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>列表</title>
</head>
<body>
    @*<a href="/Default/Add/">新增</a>*@
    @Html.ActionLink("新增","Add")
    <table>
        @{ 
            foreach (var user in Model)
            {
                <tr>
                    <td>@user.ID</td>
                    <td>@user.UName</td>
                    <td><a href="/Default/Update/@user.ID">修改</a></td>
                    <td><a href="/Default/Delete/@user.ID">删除</a></td>
                </tr>
            }
        }
    </table>
</body>
</html>
